package com.zn.feignClient;

import com.zn.vo.Message;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;

@FeignClient(value = "cloud-server-user" ,path = "/user")
public interface UserServerClient {

    @RequestMapping(value = "/getUserList",method = RequestMethod.POST)
    ResponseEntity<Message> getUserList();
}